<html>
<head><meta charset="utf-8"><title>updating CI clang? · t-compiler · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/index.html">t-compiler</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/updating.20CI.20clang.3F.html">updating CI clang?</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="237100446"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/updating%20CI%20clang%3F/near/237100446" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/updating.20CI.20clang.3F.html#237100446">(May 03 2021 at 01:18)</a>:</h4>
<p>How does the version of clang installed by <code>src/ci/scripts/install-clang.sh</code> get updated? I'm trying to figure out if that's using a version that's older than the rust-lang/rust submodule commit.</p>



<a name="237100463"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/updating%20CI%20clang%3F/near/237100463" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/updating.20CI.20clang.3F.html#237100463">(May 03 2021 at 01:18)</a>:</h4>
<p>In particular, I think it might be missing commit <code>a6ea391b832573830b011f26013ebaa946032250</code>.</p>



<a name="237101833"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/updating%20CI%20clang%3F/near/237101833" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/updating.20CI.20clang.3F.html#237101833">(May 03 2021 at 01:44)</a>:</h4>
<p>Hm, I'm not sure which repo that commit hash is from, but generally we don't bump unless there's a reason to</p>



<a name="237101877"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/updating%20CI%20clang%3F/near/237101877" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/updating.20CI.20clang.3F.html#237101877">(May 03 2021 at 01:45)</a>:</h4>
<p>I think in theory at least we can bump without too much hassle to something newer than 10.0.0, but it's likely some work to track down relevant tarballs and get that going</p>



<a name="237101908"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/updating%20CI%20clang%3F/near/237101908" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/updating.20CI.20clang.3F.html#237101908">(May 03 2021 at 01:45)</a>:</h4>
<p>If someone wants to do the legwork to get those tarballs ready, then I or someone else on infra (e.g., Pietro) can put them in S3 quickly.</p>



<a name="237104199"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/updating%20CI%20clang%3F/near/237104199" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/updating.20CI.20clang.3F.html#237104199">(May 03 2021 at 02:25)</a>:</h4>
<p><span class="user-mention" data-user-id="116122">@simulacrum</span> That specific bugfix is blocking the ability to update compiler-builtins to get support for moutline-atomics, which is needed for aarch64 musl.</p>



<a name="237104209"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/updating%20CI%20clang%3F/near/237104209" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/updating.20CI.20clang.3F.html#237104209">(May 03 2021 at 02:25)</a>:</h4>
<p>(and eventually aarch64 in general)</p>



<a name="237104266"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/updating%20CI%20clang%3F/near/237104266" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/updating.20CI.20clang.3F.html#237104266">(May 03 2021 at 02:26)</a>:</h4>
<p>That commit hash is from the llvm-project repo.</p>



<a name="237104318"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/updating%20CI%20clang%3F/near/237104318" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/updating.20CI.20clang.3F.html#237104318">(May 03 2021 at 02:26)</a>:</h4>
<p>The commit is in rust-lang/llvm-project and in the rust-lang/rust submodule, it just may not be in the compiled version used in CI.</p>



<a name="237104333"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/updating%20CI%20clang%3F/near/237104333" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/updating.20CI.20clang.3F.html#237104333">(May 03 2021 at 02:27)</a>:</h4>
<p>Well, the clang used there is a stock 10.0.0 clang I suspect</p>



<a name="237104338"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/updating%20CI%20clang%3F/near/237104338" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/updating.20CI.20clang.3F.html#237104338">(May 03 2021 at 02:27)</a>:</h4>
<p>So the right tarball would just be a git-archive of <code>rustc/12.0-2021-04-15</code>.</p>



<a name="237104347"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/updating%20CI%20clang%3F/near/237104347" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/updating.20CI.20clang.3F.html#237104347">(May 03 2021 at 02:27)</a>:</h4>
<p>No, we don't build clang I think on CI? I'd expect it to be a binary tarball</p>



<a name="237104353"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/updating%20CI%20clang%3F/near/237104353" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/updating.20CI.20clang.3F.html#237104353">(May 03 2021 at 02:27)</a>:</h4>
<p>Where do we get the binary tarball from?</p>



<a name="237104405"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/updating%20CI%20clang%3F/near/237104405" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/updating.20CI.20clang.3F.html#237104405">(May 03 2021 at 02:28)</a>:</h4>
<p>No idea - maybe someone built it at some point, maybe it's from llvm directly</p>



<a name="237104419"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/updating%20CI%20clang%3F/near/237104419" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/updating.20CI.20clang.3F.html#237104419">(May 03 2021 at 02:28)</a>:</h4>
<p>Probably possible to look through git history</p>



<a name="237104444"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/updating%20CI%20clang%3F/near/237104444" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/updating.20CI.20clang.3F.html#237104444">(May 03 2021 at 02:29)</a>:</h4>
<p>Ah, found some indications.</p>



<a name="237104445"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/updating%20CI%20clang%3F/near/237104445" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/updating.20CI.20clang.3F.html#237104445">(May 03 2021 at 02:29)</a>:</h4>
<p>I'm a bit hesitant to bump to anything not released, and even clang 10 is pretty recent... is this a nice to have, i.e. we can cfg detect or whatever and still work but more slowly on older c compilers?</p>



<a name="237104509"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/updating%20CI%20clang%3F/near/237104509" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/updating.20CI.20clang.3F.html#237104509">(May 03 2021 at 02:30)</a>:</h4>
<p>No, this is "we will fail to link with any multithreaded C code compiled by recent GCC or clang, and soon with Rust code compiled by LLVM".</p>



<a name="237104516"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/updating%20CI%20clang%3F/near/237104516" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/updating.20CI.20clang.3F.html#237104516">(May 03 2021 at 02:30)</a>:</h4>
<p>(on aarch64)</p>



<a name="237104545"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/updating%20CI%20clang%3F/near/237104545" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/updating.20CI.20clang.3F.html#237104545">(May 03 2021 at 02:30)</a>:</h4>
<p>It's not unreleased, it's LLVM 12.</p>



<a name="237104552"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/updating%20CI%20clang%3F/near/237104552" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/updating.20CI.20clang.3F.html#237104552">(May 03 2021 at 02:30)</a>:</h4>
<p>At least, it's on the LLVM 12 branch, not completely sure yet if it was before or after the release.</p>



<a name="237104589"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/updating%20CI%20clang%3F/near/237104589" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/updating.20CI.20clang.3F.html#237104589">(May 03 2021 at 02:31)</a>:</h4>
<p>The commit is from early February so I'm hoping that It <em>did</em> make the release.</p>



<a name="237142744"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/updating%20CI%20clang%3F/near/237142744" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/updating.20CI.20clang.3F.html#237142744">(May 03 2021 at 10:44)</a>:</h4>
<p>Do we need a similar bump on Linux (at least musl aarch64) builders? The file you cite is only for windows/macOS</p>



<a name="237143011"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/updating%20CI%20clang%3F/near/237143011" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/updating.20CI.20clang.3F.html#237143011">(May 03 2021 at 10:47)</a>:</h4>
<p>I think our Linux builders mostly use distro clang or gcc, so it may be quite painful to get clang 12 there...</p>



<a name="237184422"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/updating%20CI%20clang%3F/near/237184422" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/updating.20CI.20clang.3F.html#237184422">(May 03 2021 at 15:56)</a>:</h4>
<p>Bumping for aarch64 Windows is the only requirement.</p>



<a name="237184526"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/updating%20CI%20clang%3F/near/237184526" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/updating.20CI.20clang.3F.html#237184526">(May 03 2021 at 15:57)</a>:</h4>
<p>The fix isn't needed for other targets, even aarch64 Linux, I <em>think</em>.</p>



<a name="237184898"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/updating%20CI%20clang%3F/near/237184898" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/updating.20CI.20clang.3F.html#237184898">(May 03 2021 at 16:00)</a>:</h4>
<p><span class="user-mention" data-user-id="116122">@simulacrum</span> Would it be possible to coordinate an upload of the upstream LLVM binary compiled release for aarch64 Windows, to the S3 bucket? I can take a look at updating the CI script, but I don't have permission to the bucket.</p>



<a name="237186118"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/updating%20CI%20clang%3F/near/237186118" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/updating.20CI.20clang.3F.html#237186118">(May 03 2021 at 16:08)</a>:</h4>
<p>A windows-specific patch (or even windows and macos) seems OK -- I'd be happy to do the upload if you file a PR with the relevant patch and a link to an existing tarball location (or happy to get that over pm, whatever)</p>



<a name="237187678"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/updating%20CI%20clang%3F/near/237187678" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/updating.20CI.20clang.3F.html#237187678">(May 03 2021 at 16:19)</a>:</h4>
<p>I'll work on that today.</p>



<a name="237199855"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/updating%20CI%20clang%3F/near/237199855" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/updating.20CI.20clang.3F.html#237199855">(May 03 2021 at 17:45)</a>:</h4>
<p><span class="user-mention" data-user-id="116122">@simulacrum</span> So, I can easily point to an updated tarball for macos, ready for upload. Apparently, the process for Windows is to download the .exe installer, run it under wine with specific command-line options, and then tar up the resulting directory.</p>



<a name="237199984"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/updating%20CI%20clang%3F/near/237199984" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/updating.20CI.20clang.3F.html#237199984">(May 03 2021 at 17:46)</a>:</h4>
<p>Seems fine to me, though I can't help with running the exe (I guess maybe with wine but seems not great).</p>



<a name="237200736"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/updating%20CI%20clang%3F/near/237200736" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/updating.20CI.20clang.3F.html#237200736">(May 03 2021 at 17:51)</a>:</h4>
<p>So, should I just run that, tar it up, and stick it somewhere that you can grab and upload?</p>



<a name="237200781"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/updating%20CI%20clang%3F/near/237200781" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/updating.20CI.20clang.3F.html#237200781">(May 03 2021 at 17:51)</a>:</h4>
<p>/me feels like long-term the <em>right</em> solution would be to poke LLVM upstream and ask for non-exe Windows binary releases.</p>



<a name="237200965"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/updating%20CI%20clang%3F/near/237200965" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/updating.20CI.20clang.3F.html#237200965">(May 03 2021 at 17:52)</a>:</h4>
<p>/me wonders if he can dissect the .exe using well-established tools for extracting installers.</p>



<a name="237202445"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/updating%20CI%20clang%3F/near/237202445" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/updating.20CI.20clang.3F.html#237202445">(May 03 2021 at 18:01)</a>:</h4>
<p>Success!</p>



<a name="237202716"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/updating%20CI%20clang%3F/near/237202716" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/updating.20CI.20clang.3F.html#237202716">(May 03 2021 at 18:02)</a>:</h4>
<p>Extracting the Windows .exe installer with <code>7z x -oclang-temp/ LLVM-10.0.0-win64.exe</code> produces a folder almost identical to <code>https://ci-mirrors.rust-lang.org/rustc/LLVM-10.0.0-win64.tar.gz</code>, except that the former also includes the NSIS plugin directory (which we don't care about) and the latter includes <code>Uninstall.exe</code> (which we don't care about).</p>



<a name="237202842"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/updating%20CI%20clang%3F/near/237202842" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/updating.20CI.20clang.3F.html#237202842">(May 03 2021 at 18:03)</a>:</h4>
<p>So I think I can modify the CI to let us just use the upstream-supplied .exe, rather than requiring someone to install it with Wine and upload the result.</p>



<a name="237203117"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/updating%20CI%20clang%3F/near/237203117" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/updating.20CI.20clang.3F.html#237203117">(May 03 2021 at 18:04)</a>:</h4>
<p>Hm, that seems OK to me, presuming it's reliable; I see no reason why it wouldn't be.</p>



<a name="237203397"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/updating%20CI%20clang%3F/near/237203397" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/updating.20CI.20clang.3F.html#237203397">(May 03 2021 at 18:06)</a>:</h4>
<p>As a starting point, could you please download a copy of <a href="https://github.com/llvm/llvm-project/releases/download/llvmorg-10.0.0/LLVM-10.0.0-win64.exe">https://github.com/llvm/llvm-project/releases/download/llvmorg-10.0.0/LLVM-10.0.0-win64.exe</a> , and upload it to the CI mirror so it appears as <code>https://ci-mirrors.rust-lang.org/rustc/LLVM-10.0.0-win64.exe</code>?</p>



<a name="237203882"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/updating%20CI%20clang%3F/near/237203882" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/updating.20CI.20clang.3F.html#237203882">(May 03 2021 at 18:09)</a>:</h4>
<p>Can you also do the same for <a href="https://github.com/llvm/llvm-project/releases/download/llvmorg-12.0.0/LLVM-12.0.0-win64.exe">https://github.com/llvm/llvm-project/releases/download/llvmorg-12.0.0/LLVM-12.0.0-win64.exe</a> and <a href="https://github.com/llvm/llvm-project/releases/download/llvmorg-12.0.0/clang+llvm-12.0.0-x86_64-apple-darwin.tar.xz">https://github.com/llvm/llvm-project/releases/download/llvmorg-12.0.0/clang+llvm-12.0.0-x86_64-apple-darwin.tar.xz</a> (the latter of which should be downloadable as <code>https://ci-mirrors.rust-lang.org/rustc/clang%2Bllvm-12.0.0-x86_64-apple-darwin.tar.xz</code> )?</p>



<a name="237203975"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/updating%20CI%20clang%3F/near/237203975" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/updating.20CI.20clang.3F.html#237203975">(May 03 2021 at 18:10)</a>:</h4>
<p>I'll then do this in two separate PRs: the first switching to using the .exe for Windows but sticking with LLVM 10, and the second upgrading to LLVM 12.</p>



<a name="237204406"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/updating%20CI%20clang%3F/near/237204406" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/updating.20CI.20clang.3F.html#237204406">(May 03 2021 at 18:13)</a>:</h4>
<p>Sure. I can do that right now.</p>



<a name="237204499"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/updating%20CI%20clang%3F/near/237204499" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/updating.20CI.20clang.3F.html#237204499">(May 03 2021 at 18:14)</a>:</h4>
<p>Thanks!</p>



<a name="237204764"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/updating%20CI%20clang%3F/near/237204764" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/updating.20CI.20clang.3F.html#237204764">(May 03 2021 at 18:15)</a>:</h4>
<p><span class="user-mention" data-user-id="239881">@Josh Triplett</span> is it intentional that the llvm 12 link is win32?</p>



<a name="237204779"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/updating%20CI%20clang%3F/near/237204779" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/updating.20CI.20clang.3F.html#237204779">(May 03 2021 at 18:15)</a>:</h4>
<p>(the llvm 10 link is win64)</p>



<a name="237204967"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/updating%20CI%20clang%3F/near/237204967" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/updating.20CI.20clang.3F.html#237204967">(May 03 2021 at 18:17)</a>:</h4>
<p>Um. No, that's me failing at copy and paste. :)</p>



<a name="237205010"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/updating%20CI%20clang%3F/near/237205010" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/updating.20CI.20clang.3F.html#237205010">(May 03 2021 at 18:17)</a>:</h4>
<p>Edited above.</p>



<a name="237205036"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/updating%20CI%20clang%3F/near/237205036" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/updating.20CI.20clang.3F.html#237205036">(May 03 2021 at 18:17)</a>:</h4>
<p>Alright, should all be uploaded.</p>



<a name="237205183"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/updating%20CI%20clang%3F/near/237205183" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/updating.20CI.20clang.3F.html#237205183">(May 03 2021 at 18:18)</a>:</h4>
<p>Let me know if any of it runs into trouble.</p>



<a name="237205569"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/updating%20CI%20clang%3F/near/237205569" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/updating.20CI.20clang.3F.html#237205569">(May 03 2021 at 18:21)</a>:</h4>
<p>Will do.</p>



<a name="237205594"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/updating%20CI%20clang%3F/near/237205594" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/updating.20CI.20clang.3F.html#237205594">(May 03 2021 at 18:21)</a>:</h4>
<p>LLVM 10 looks good, PR shortly.</p>



<a name="237206328"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/updating%20CI%20clang%3F/near/237206328" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/updating.20CI.20clang.3F.html#237206328">(May 03 2021 at 18:26)</a>:</h4>
<p><a href="https://github.com/rust-lang/rust/pull/84874">https://github.com/rust-lang/rust/pull/84874</a></p>



<a name="237206398"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/updating%20CI%20clang%3F/near/237206398" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/updating.20CI.20clang.3F.html#237206398">(May 03 2021 at 18:26)</a>:</h4>
<p>Assuming that looks good to you, and passes CI, would you mind sending it through bors with p=1 so that I can start on the LLVM 12 upgrade afterwards?</p>



<a name="237207594"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/updating%20CI%20clang%3F/near/237207594" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/updating.20CI.20clang.3F.html#237207594">(May 03 2021 at 18:33)</a>:</h4>
<p>Hm, I'm happy for further work to be based on this commit, but I'm not sure rushing it through CI is necessary?</p>



<a name="237208448"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/updating%20CI%20clang%3F/near/237208448" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/updating.20CI.20clang.3F.html#237208448">(May 03 2021 at 18:38)</a>:</h4>
<p>Purely a request, on the basis of "I'd love to do more than one cycle today". But I can always work on it later.</p>



<a name="237208500"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/updating%20CI%20clang%3F/near/237208500" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/updating.20CI.20clang.3F.html#237208500">(May 03 2021 at 18:39)</a>:</h4>
<p>Not sure I follow - why would it block you?</p>



<a name="237208724"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/updating%20CI%20clang%3F/near/237208724" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/updating.20CI.20clang.3F.html#237208724">(May 03 2021 at 18:40)</a>:</h4>
<p>Because if this approach works I'd like to switch to clang from LLVM 12 using the same approach, and if it doesn't work then switching to clang from LLVM 12 will need a different approach.</p>



<a name="237208832"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/updating%20CI%20clang%3F/near/237208832" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/updating.20CI.20clang.3F.html#237208832">(May 03 2021 at 18:41)</a>:</h4>
<p>Ah, I see. I'm fine if you want to p=1 the PR, but CI is likely to be busy with stable builds regardless (once I finish applying backports of stuff)</p>



<a name="237208859"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/updating%20CI%20clang%3F/near/237208859" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/updating.20CI.20clang.3F.html#237208859">(May 03 2021 at 18:41)</a>:</h4>
<p>Not a problem.</p>



<a name="237209234"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/updating%20CI%20clang%3F/near/237209234" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/updating.20CI.20clang.3F.html#237209234">(May 03 2021 at 18:44)</a>:</h4>
<p>Thanks for the help!</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>